package dreamdancetiktokenums

type SportsCar struct {
}

var ExperienceCarMap = map[int64]int64{
	1:    400102,
	75:   400202,
	150:  400302,
	300:  400402,
	600:  400502,
	1200: 400602,
}

var SportsCarObj SportsCar

// AddExperienceGetCars 增加经验获得的跑车
func (sc *SportsCar) AddExperienceGetCars(newExperience int64) map[int64]int64 {
	// 添加跑车
	r := make(map[int64]int64)
	for experience, car := range ExperienceCarMap {
		if newExperience >= experience {
			r[car] = car
		}
	}
	return r
}
